package cn.tingting.cilent;

import cn.tingting.domain.LoginUser;
import cn.tingting.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "HRM-AUTH",fallbackFactory = TentantCilentHystrixFallbackFactory.class)
@RequestMapping("/loginUser")
public interface TentantCilent {
    @PutMapping
    AjaxResult addOrUpdate(@RequestBody LoginUser loginUser);

}
